package main

import (
	"fmt"
)

func main() {
	//name := "bobby"
	//age := 18
	//fmt.Println("name:" + name + ",age:" + strconv.Itoa(age))
	//fmt.Printf("")
	//desc := fmt.Sprintf("name:%s,age:%x,\n", name, age)
	//fmt.Println(desc)
	//data := 65
	//fmt.Printf("%c", data)

	var n string
	var a int
	//fmt.Println("请输入你的姓名和年龄：")
	//fmt.Scanln(&n, &a)
	//fmt.Println(n, a)
	fmt.Println("请输入你的姓名和年龄：")
	fmt.Scanf("%s %d", &n, &a)
	fmt.Println(n, a)

}
